<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/AteneoLibriBusinessLogic.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/AteneoLibriBusinessLogic.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:55555/AteneoLibriServices/AteneoLibriService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="RecoveryCode">
    <xs:sequence>
      <xs:element minOccurs="0" name="GeneratedCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserId" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="RecoveryCode" nillable="true" type="tns:RecoveryCode" />
  <xs:complexType name="ArrayOfUser">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="User" nillable="true" type="tns:User" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUser" nillable="true" type="tns:ArrayOfUser" />
  <xs:complexType name="User">
    <xs:sequence>
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FacultyId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="IPAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IdUser" type="ser:guid" />
      <xs:element minOccurs="0" name="IsSuspended" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="LastAccess" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="LastUpdate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="MarketingNewsletter" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PhoneNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecoveryCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RegistrationData" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Surname" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ThirdPartPrivacy" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="UniversityId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="VerifyRegistration" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="ArrayOfSale">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Sale" nillable="true" type="tns:Sale" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSale" nillable="true" type="tns:ArrayOfSale" />
  <xs:complexType name="Sale">
    <xs:sequence>
      <xs:element minOccurs="0" name="BookId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EndDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="IdSale" type="ser:guid" />
      <xs:element minOccurs="0" name="Price" nillable="true" type="xs:decimal" />
      <xs:element minOccurs="0" name="SaleStatusId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="StartDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="UserIdPurchaser" nillable="true" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Sale" nillable="true" type="tns:Sale" />
  <xs:complexType name="Book">
    <xs:sequence>
      <xs:element minOccurs="0" name="Author" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BookStatusId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="CoverImage" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Edition" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FacultyId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="ISBN" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IdBook" type="ser:guid" />
      <xs:element minOccurs="0" name="InsertDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Note" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PublishingHouse" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SellingPrice" type="xs:decimal" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UniversityId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="UserId" type="ser:guid" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Book" nillable="true" type="tns:Book" />
  <xs:complexType name="ArrayOfMessage">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Message" nillable="true" type="tns:Message" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMessage" nillable="true" type="tns:ArrayOfMessage" />
  <xs:complexType name="Message">
    <xs:sequence>
      <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="IdMessage" type="ser:guid" />
      <xs:element minOccurs="0" name="SaleId" type="ser:guid" />
      <xs:element minOccurs="0" name="TextMessage" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserIdPurchaser" type="ser:guid" />
      <xs:element minOccurs="0" name="UserIdSeller" type="ser:guid" />
      <xs:element minOccurs="0" name="WriteBy" nillable="true" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Message" nillable="true" type="tns:Message" />
  <xs:complexType name="ArrayOfNation">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Nation" nillable="true" type="tns:Nation" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfNation" nillable="true" type="tns:ArrayOfNation" />
  <xs:complexType name="Nation">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IdNation" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Nation" nillable="true" type="tns:Nation" />
  <xs:complexType name="ArrayOfCity">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="City" nillable="true" type="tns:City" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCity" nillable="true" type="tns:ArrayOfCity" />
  <xs:complexType name="City">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IdCity" type="ser:guid" />
      <xs:element minOccurs="0" name="NationId" nillable="true" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="City" nillable="true" type="tns:City" />
  <xs:complexType name="ArrayOfUniversity">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="University" nillable="true" type="tns:University" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUniversity" nillable="true" type="tns:ArrayOfUniversity" />
  <xs:complexType name="University">
    <xs:sequence>
      <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CityId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="IdUniversity" type="ser:guid" />
      <xs:element minOccurs="0" name="Logo" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NationId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="PhotoCover" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="University" nillable="true" type="tns:University" />
  <xs:complexType name="ArrayOfFaculty">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Faculty" nillable="true" type="tns:Faculty" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfFaculty" nillable="true" type="tns:ArrayOfFaculty" />
  <xs:complexType name="Faculty">
    <xs:sequence>
      <xs:element minOccurs="0" name="IdFaculty" type="ser:guid" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UniversityId" nillable="true" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Faculty" nillable="true" type="tns:Faculty" />
  <xs:complexType name="ArrayOfBook">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Book" nillable="true" type="tns:Book" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBook" nillable="true" type="tns:ArrayOfBook" />
</xs:schema>